package com.project2.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author : bunnyupup
 * @description :
 * @date : Created in 2022/8/12 17:39
 */
@Data
public class AdminCreateVo {

    /**
     * id : 8
     * username : admin1
     * password : $2a$10$DsLzF/RLzfEg5ow24XByluoCeHbaaLlOytmrj0xKFe/0JpiCYDy3G
     * avatar : http://182.92.235.201:8083/wx/storage/fetch/bs7zqp0qa7h2g461302v.jpg
     * addTime : 2022-08-12 16:48:55
     * updateTime : 2022-08-12 16:48:55
     * roleIds : [3]
     */

    private Integer id;
    private String username;
    private String password;
    private String avatar;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private List<Integer> roleIds;

}
